Skip to main content

STAC Items Details by ID

This section explains how to retrieve metadata for a specific STAC Item using its unique identifier. A STAC Item represents a single geospatial asset (such as a satellite image) and includes spatial footprint, acquisition date, links to asset files, and more.

Endpoint

GET /public/stac/collections/{collectionId}/items/{id}

Include the following header:

x-api-key: YOUR_API_KEY

Example Request (cURL)

curl -H "x-api-key: YOUR_API_KEY" "https://giq.ae/public/stac/collections/d98629ef-58c5-9af8-714c-ac86b03fba66/items/28658e5f-6b73-11ef-812d-19f768344900"

Example Response (Sample):

{
"type": "Feature",
"id": "BSG-73-20240830-102222-194727757-ortho.zip",
"title": "28658e5f-6b73-11ef-812d-19f768344900",
"collection": "d98629ef-58c5-9af8-714c-ac86b03fba66",
"geometry": {
"type": "Polygon",
"coordinates": [
[
[54.4062737, 24.466125],
[54.4062737, 24.3901998],
[54.4880255, 24.3901998],
[54.4880255, 24.466125],
[54.4062737, 24.466125]
]
]
},
"bbox": [54.4062737, 24.3901998, 54.4880255, 24.466125],
"properties": {
"datetime": "2024-08-30T10:22:22.004Z",
"name": "BSG-73-20240830-102222-194727757-ortho.zip",
"giq:layer_type": "RASTER",
"description": null,
"giq:ingestion_date": "2024-09-05T10:39:27Z",
"source_type": "MULTISPECTRAL",
"giq:source": "BLACKSKY",
"giq:source_type": "MULTISPECTRAL",
"giq:source_sub_type": "DEFAULT",
"layer_type": "RASTER"
},
"assets": {
"rendered_preview": {
"href": "https://giq.ae/api/map/preview?bbox=54.4062737,24.3901998,54.4880255,24.466125&sourceId=28658e5f-6b73-11ef-812d-19f768344900&width=160&height=160",
"title": "Rendered preview",
"type": "image/png",
"roles": ["overview"]
},
"data": {
"href": "https://minio.giq.ae/.../BSG-73-20240830-102222-194727757-ortho.zip?...",
"title": "Source File",
"type": "application/zip",
"roles": ["data"]
}
},
"links": [
{
"rel": "self",
"href": "https://giq.ae/public/stac/collections/d98629ef-58c5-9af8-714c-ac86b03fba66/items/28658e5f-6b73-11ef-812d-19f768344900",
"type": "application/geo+json",
"title": "STAC Item",
"method": "GET"
},
{
"rel": "collection",
"href": "https://giq.ae/public/stac/collections/d98629ef-58c5-9af8-714c-ac86b03fba66",
"type": "application/json",
"title": "STAC Collection",
"method": "GET"
}
],
"stac_version": "1.0.0",
"stac_extensions": [
"https://stac-extensions.github.io/view/v1.0.0/schema.json",
"https://stac-extensions.github.io/sar/v1.2.0/schema.json"
]
}

Response Overview

Returns metadata about a specific STAC Item including:

  • ID and title
  • Geometry and bounding box
  • Acquisition timestamp
  • Ingestion and layer info
  • Asset preview and download links

Response Fields

FieldDescription
idUnique item identifier
titleHuman-readable title of the item
collectionCollection ID this item belongs to
geometryGeoJSON Polygon for item footprint
bboxBounding box (min lon, min lat, max lon...)
propertiesAcquisition and ingestion metadata
assetsPreview and download asset URLs
linksNavigation links to self and collection
stac_versionSTAC specification version
stac_extensionsApplied STAC extensions (if any)
RelDescriptionURL Template
selfLink to this specific item/public/stac/collections/{collectionId}/items/{itemId}
collectionLink to parent collection/public/stac/collections/{collectionId}

Assets

KeyDescriptionType
rendered_previewThumbnail or quicklook previewimage/png
dataDownloadable raster or image dataapplication/zip

Use Cases

  • Inspect metadata for an individual satellite image or raster
  • Retrieve preview image for display on map
  • Programmatically download geospatial assets for analysis
  • Trace an item back to its source collection